Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development


Understanding the role of the item link

It is important to understand where these functions are executed and where property values are retrieved. When you define an item in the Toolbar and Menu Designer, shown in Figure 3–15, you must define an Item link for it.

Figure 3–15: Toolbar and Menu Designer: item link definition

Any toolbar that uses this item must be a source for that link type in order for the item to be active. The evaluation of the properties and functions in action rules is done in the target for the link. In many cases, the Item Category allows you to define a default value for the Item link that applies to all items in that category unless they specify otherwise.

The Item Link Default for the Navigation category, for example, is Navigation. The Navigation buttons communicate with objects that are Navigation-Targets of the toolbar.

If an action does not have an item link defined and its category also does not have an item link defined, then the event is processed on the toolbar’s container by default.

If there is no default specified for the Category, then you must define an Item link, as shown in Figure 3–16, for the item if it has action rules or if it publishes an event as its action, as the Comments item does.

Figure 3–16: Defining an item link

In this case, when you enter the Item link for an individual action, you enter the full link name including the –Target extension.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095